package com.cals;

/*
要写注释哦!!!

&&和
||或
！非
^相同为false,不同为true
*/
public class Demo4 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        System.out.println(a > 10 && b >= 20);
        System.out.println(a > 10 || b >= 20);
        System.out.println(!(a > 10 && b >= 20));
        System.out.println(a > 10 ^ b >= 20);
    }
}
